﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;

namespace UTC_Project_Manager.Model.Infrastructure
{
    public class Meeting
    {
        
        

        public Meeting(String title, DateTime date, String description, String Points)
        {
            this.Title = title;
            this.Description = description;
            this.Date = date;
            this.IsOver = false;
           
        }

        public Meeting() { }
        
        #region Properties
        public String Title { get; set; }
        public String Description { get; set; }
        public String Points { get; set; }
        public DateTime Date { get; set; }
        public Boolean IsOver { get; set; }
        public String Notes { get; set; }
        public String Length { get; set; }
        public List<Member> Invited { get; set; }
        public List<Member> Attended { get; set; }


        public override string ToString()
        {
            return Date.ToShortDateString() + " à " + Date.ToShortTimeString();
        }
        #endregion


        #region Methods

        public void inviteMember(Member member)
        {
            //TODO: invite a member to a meeting
        }


        #endregion
    }
}
